package com.zhekou.util;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * User: cjp
 * Date: 2008-4-14
 * Time: 20:08:31
 */
public class TaskUtil {
    private static ExecutorService service = Executors.newFixedThreadPool(1);

    public static void init() {
    }

    public static void execTask(Task task) {
        service.execute(task);
    }
}
